/************************************************************************

								Heroes IV
					  Copyright 2000, The 3DO Company

	------------------------------------------------------------------
  						       animation_cache.h

	$Header: /game/animation_cache.h $

	$NoKeywords: $

 ************************************************************************/

#ifndef ANIMATION_CACHE_H_INCLUDED
#define ANIMATION_CACHE_H_INCLUDED

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include <string>

#include "animation.h"
#include "conversion_cache.h"

class t_animation_cache : public t_conversion_cache<t_animation_24, t_animation>
{
public:
	t_animation_cache();
	t_animation_cache( std::string const & name )
		 : t_conversion_cache<t_animation_24, t_animation>( name )
	{
	}
protected:
	t_animation_cache( t_conversion_data* data ) : t_conversion_cache<t_animation_24, t_animation>(data)
	{
	}
};

inline t_animation_cache::t_animation_cache()
                        : t_conversion_cache<t_animation_24, t_animation>(0)
{
}

#endif // ANIMATION_CACHE_H_INCLUDED